regular expressions
Tag details
Welcome to the 'regular expressions' tag page at Technorati. This page features content from the farthest reaches of the Blogosphere that authors have "tagged" with 'regular expressions'.
Latest blogosphere posts tagged “regular expressions”
-
How to validate Time in 24 Hours format with regular expression
Programmer Life —
Authority: 113
Time in 24-Hour Format Regular Expression Pattern ( [ 01 ] ? [ 0 - 9 ] | 2 [ 0 - 3 ] ) : [ 0 - 5 ] [ 0 - 9 ] Description ( #start of group # 1 [ 01 ] ? [ 0 - 9 ] # start with 0 - 9 , 1 - 9 ,00 - 09, 10 - 19 | # or 2 [ 0 - 3 ] # start with ...5 hours ago -
How to validate Time in 12 Hours format with regular expression
Programmer Life —
Authority: 113
Time in 12-Hour Format Regular Expression Pattern ( 1 [ 012 ] | [ 1 - 9 ] ) : [ 0 - 5 ] [ 0 - 9 ] ( \\s ) ? ( ? i ) ( am | pm ) Description ( #start of group # 1 1 [ 012 ] # start with 10 , 11 , 12 | # or [ 1 - 9 ] # start with 1 , 2 ,...9 ) ...6 hours ago -
How to validate IP address with regular expression
Programmer Life —
Authority: 113
IP Address Regular Expression Pattern ^ ( [ 01 ] ? \\d\\d ?| 2 [ 0 - 4 ] \\d | 25 [ 0 - 5 ] ) \\. ( [ 01 ] ? \\d\\d ?| 2 [ 0 - 4 ] \\d | 25 [ 0 - 5 ] ) \\. ( [ 01 ] ? \\d\\d ?| 2 [ 0 - 4 ] \\d | 25 [ 0 - 5 ] ) \\. ( [ 01 ] ? \\d\\d ?| 2 [ 0 - 4 ] \\d | 25 [ ...1 week ago -
How to validate email address with regular expression
Programmer Life —
Authority: 113
Email Regular Expression Pattern ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$ Description ^ – beginning of string [_A-Za-z0-9-]+ – means one or more letter(s) from “a” to “f”, “A” to “Z”, a digit from “0″ to “9″, underscore or dash ...2 weeks ago -
How to validate Hex color code with regular expression
Programmer Life —
Authority: 113
Hexadecimal Color Code Regular Expression Pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$ Description ^ – Beginning of string # – a “#” symbol is required [A-Fa-f0-9] – means a letter from “a” to “f” or “A” to “Z”, or a digit from “0″ to “9″ {6} – means exactly 6 length ...3 weeks ago -
How to validate image file extension with regular expression
Programmer Life —
Authority: 113
Image File Extension Regular Expression Pattern ([^\s]+(\.(?i)(jpg|png|gif|bmp))$) Description \s – means white space ^ – Not [^\s] – means it is not a white space + – 1 or more [^\s]+ – must have 1 or more string (but not white space) () – grouping \. – dot “.” is a meta character and ...3 weeks ago -
How To Extract HTML Tags And Their Attributes With PHP
W-Shadow.com Blog —
Authority: 107
There are several ways to extract specific tags from an HTML document. The one that most people will think of first is probably regular expressions. However, this is not always – or, as some would insist, ever – the best approach. Regular expressions can be handy for small hacks, but using a real HTML parser ...3 weeks ago -
How to validate password with regular expression
Programmer Life —
Authority: 113
Password Regular Expression Pattern ((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{6,20}) Description ?= – means apply the assertion formula, meaningless by itself, always work with other combination. . – means any characters except new line “\n” * – means length can be zero or more () – grouping ...4 weeks ago -
Regular Expression cheat sheet for programmers
Vijay For Victory —
Authority: 465
Regular Expression is a pattern describing a certain amount of text. Regular expressions are a language of their own. Wiki defines Regular Expression as follows, In computing, regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, ...4 weeks ago -
More Fun with Regular Expressions : Word and Paragraph Parsing
Chris Love's Official ASP.NET Blog —
Authority: 445
Trolling the ASP.NET forums again this morning, I know I do it a lot, I found a question trying to parse the paragraphs out of a series of text. So I knew I had to answer it. The regular expression needed is (.+). This tells the Regular Expression object to match on a series of one or more word related characters. ...4 weeks ago