assorted: fix regex to replace multiple matches with one space

This commit is contained in:
Bogdan 2023-05-12 01:40:54 +03:00
parent d8c988c976
commit b68373b4f0
2 changed files with 4 additions and 4 deletions

View File

@ -163,7 +163,7 @@ search:
optional: true
filters:
- name: re_replace
args: ["[ ]at|[\\s+]|[//\xa0],\\/g", " "]
args: ["[ ]at|[//\xa0\\s,]+", " "]
date_year:
# February 09, 2019, 06:35:08 AM
selector: td:nth-child(5):not(:contains("day"))
@ -171,7 +171,7 @@ search:
optional: true
filters:
- name: re_replace
args: ["[,]|[\\s+]|[//\xa0],\\/g", " "]
args: ["[//\xa0\\s,]+", " "]
- name: dateparse
args: "MMMM dd yyyy hh:mm:ss tt"
date:

View File

@ -126,7 +126,7 @@ search:
optional: true
filters:
- name: re_replace
args: ["[ ]at|[\\s+]|[//\xa0],\\/g", " "]
args: ["[ ]at|[//\xa0\\s,]+", " "]
date_year:
# February 09, 2019, 06:35:08 AM
selector: td:nth-child(5):not(:contains("day"))
@ -134,7 +134,7 @@ search:
optional: true
filters:
- name: re_replace
args: ["[,]|[\\s+]|[//\xa0],\\/g", " "]
args: ["[//\xa0\\s,]+", " "]
- name: dateparse
args: "MMMM dd yyyy hh:mm:ss tt"
date: