Regular Expressions 101

Find current ratings out of a fuse description

Open Workspace
  • PCRE (Legacy)
  • Match
0

Regular Expression

/
(?<=^Fuse - )[\d.\/m]+A|(?<=\s)\dA
/
gm

Description

Look for "Fuse - " prefix Any digit or... Any fractional marker (for "3/4") or... Any "m" (for milli) or... Followed by a capital "A"? OR is there a space... ...followed by a number with an A suffix?

Submitted by Anonymous