I need to get a regular expression that matches all Unicode control characters except for carriage return (0x0d), line (0x0a) and tab (0x09). Currently my regex is as follows:
/\p{C}/u
I just need to identify these three exceptions now.
I think you can use a negative result here, combined with character classes.
/(?![\x{000d}\x{000a}\x{0009}])\p{C}/u
lookahead, , , . , .
perl .
(, , , .)
Source: https://habr.com/ru/post/1711864/More articles:Creating URLs from MVC Routes at the Management Level ... - model-view-controllerJS: specifying the current item in a menu - javascriptSupplying an optional parameter for autocomplete according to the Zend Framework - javascriptWhy is my web request http code not sending a request? - c #64-bit 32-bit assembly instructions - assemblyAppleScript: how can I exit all running user applications and then restart the bootcamp section (this part works)? - applescriptbluetooth protocol implementation - bluetoothJquery dynamic id control property - jqueryShould ASP.NET MVC Developers Really Learn Ruby on Rails? - ruby-on-railsHow to write a regular expression to match Arabic, English, numeric and spaces? - phpAll Articles