Regular Expressions 101

Sponsors

Library entries

0
pcre2

Email

Email
Submitted by anonymous - 3 months ago
0
python

Phone number

Phone number
Submitted by anonymous - 3 months ago
0
javascript

Xerox Product Page

regex to match a product page url
Submitted by anonymous - 3 months ago
0
pcre2

Get description

sss
Submitted by anonymous - 3 months ago

MatchCzB2B

Vote

0

Regular Expression
pcre2

/
<tbody id="ec_table_body">.*?(.*?<tr.*?<td.+?>(?<IsRoute>[a-z]+?)<\/td>.*?<td.+?>(?<FlightNo>[A-Z0-9]+?)<\/td>.*?<td.+?>(?<Origin>[A-Z]+?)<\/td>.*?<td.+?>-<\/td>.*?<td.+?>(?<Destination>[A-Z]+?)<\/td>.*?<td.+?>(?<DepartureDate>[0-9]+?)<\/td>.*?<td.+?>(?<DepartureTime>[0-9]+?)<\/td>.*?<td.+?>(?<ArrivalTime>[0-9]+?)<\/td>.+?<\/tr>)+.*?<\/tbody>
/
gs

Description

Loading markdown...
Submitted by raymond - 2 years ago