Regex: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
  Replace: \([0-9:]*\)$
  Replace: \([0-9:]*\)$
  with:    \t\1
  with:    \t\1
-------
([0-9]{14})
$1\$1.front
^([0-9]{14}).300x300.jpg
$1\graphics\$1.front._tistandard_.300x300.jpg
([0-9]{14})
$1\graphics\$1
-------
find short track duration notation
^([0-9]):([0-9]{2})$

Latest revision as of 2014-04-13T02:20:37

~[\d/\|-\?]*~ - recording date column, could maybe be tighter

convert track listing with playtime to tabular data

Replace: \([0-9:]*\)$
with:    \t\1

([0-9]{14})
$1\$1.front
^([0-9]{14}).300x300.jpg
$1\graphics\$1.front._tistandard_.300x300.jpg
([0-9]{14})
$1\graphics\$1

find short track duration notation

^([0-9]):([0-9]{2})$