Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[a-zA-Z0-9\.\|\ \/\:\(\)\<\>\=\-\#\"\,]*\ \(Transaction\ ID\ ([0-9]*)\)[a-zA-Z0-9\.\|\ \/\:\(\)\<\>\=\-\#\"\,]*
/
g

Description

Pull Authorize.Net Transaction ID from WooCommerce's order_notes

Submitted by Lorelei - 7 years ago