Regular expressions

classic Classic list List threaded Threaded
11 messages Options
Regular expressions – In the work to make webERP use some of the html5 goodies I have used a pattern="[a-zA-Z0-9\s]*" - but of course this is a blinkered ...
Hi, Phil, Sorry for the late response. Just return back from a business trip and Chinese Mid-Autumn holiday. I'm not sure...
Hi Exson, Not thought much more about it but what about this: pattern="[^\'\+\?\."&\\<>]{1,20}" miserably crypti...
I am getting into trouble with the " character as it is being interpreted as the end of the pattern - not a character that we want to tra...
I can't seem to trap the \ character either? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 28/0...
Will this do the trick: http://stackoverflow.com/questions/9343082/html5-input-pattern-search-for-qu ote -----Original Message----- From...
Hi, Thanks that works with the double quote problem:-) So now we have: pattern="(?!^ +$)[^?\'\u0022+.&\\><]*" Howe...
This may work "\\\\" Each double will lead to a single J From: Phil Daintree [mailto:phil@...] Sent: Saturday, Septemb...
That's it ... back slashes now trapped thanks very much :-) Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.c...
I now remember your solution Exson - you did explain sorry!! We need to set data-type="no-illegal-chars" to set the pattern as per yo...
The only snag seems to be that it doesn't trap back slashes though? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logi...