OVER 3000 CUSTOMERS FROM STARTUPS TO LARGE ENTERPRISES

Microsol is the leading full service digital agency with a strong workforce of 87 employees and 14+ years in operations

Blog

article-031117234732

New JavaScript Features That Will Change How You Write Regex

There’s a good reason the majority of programming languages support regular expressions: they are extremely powerful tools for manipulating text. Text processing tasks that require dozens of lines of code can often be accomplished with a single line of regular expression code. While the built-in functions in most languages are usually sufficient to perform search and replace operations on strings, more complex operations — such as validating text inputs — often require the use of regular expressions.

Regular expressions have been part of the JavaScript language since the third edition of the ECMAScript standard, which was introduced in 1999. ECMAScript 2018 (or ES2018 for short) is the ninth edition of the standard and further improves the text processing capability of JavaScript by introducing four new features:

Lookbehind assertions
Named capture groups
s (dotAll) Flag
Unicode property escapes

Get A Free instant Quote

Please fill the form below and one of your respesentative shall get in touch with you shortly.

[contact-form-7 id="13" title="get instant"]

WHAT CLIENTS SAY

09
World class and amazing creative work… best experience to date. We are dealing with Fortune 100 clients and Microsol delivers quality creative for our clients.” Overall, it was a great experience and we will continue to use Microsol for all of our creative content in future for all of all clients.
Star HansenCEOReveal Star