Regular Expressions 101

Sponsors

Library entries

0
javascript

MyRegex

Parse
Submitted by anonymous - 6 hours ago
0
javascript

import syntax for regex with grouping

HAYO!
Submitted by CreeJee - a day ago
0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - 2 days ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 3 days ago
0
javascript

File extension

Parse file extension.
Submitted by Webmato - 3 days ago
0
java

date dd.mm.yyyy

Date format dd.mm.yyyy
Submitted by anonymous - 3 days ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 8 days ago
0
java

partnkey value

Extract value partn_key
Submitted by anonymous - 10 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 11 days ago
0
javascript

sql inj

as
Submitted by anonymous - 12 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 12 days ago

B1 - Invert First_name and Last_name in a citation author list

Vote

0

Regular Expression
javascript

/
(?<=^| and )((?:(?:.\.|[\w\-\u00C0-\u017F]+)\s*)(?:(?<! and )(?:.\.|[\w\-\u00C0-\u017F]+)\s*)*) ([\w\-\u00C0-\u017F]+)(?= and |$)
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 months ago