You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Thanks for this great plugin, it looks very good on my magic monitor, and it loads multiple calendars just fine :)
I recently discovered that the Formula 1 had their own calendar, so I added it to the monitor.
My problem is that currently, the title will be something like this: FORMULA 1 ETIHAD AIRWAYS ABU DHABI GRAND PRIX 2020 - PRACTICE 1
So a few replaceTitle's later I ended up with the following:
replaceTitle: [
["FORMULA 1", ""],
["GRAND PRIX ", ""],
["2020 ", ""],
["2021 ", ""],
["2022 ", ""],
// Yes I do realize I can capture the year with a regex :$
["PRACTICE ", "FP"],
["QUALIFYING", "Q"],
]
Result: ETIHAD AIRWAYS ABU DHABI - FP1
Now I want to change it to the following:
FP1 Etihad Airways Abu Dhabi
Is there any way to:
a) Change the order of the text (regex probably capturing each group and displaying them in another order?)
b) Change the CamelCasing of the text
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi! Thanks for this great plugin, it looks very good on my magic monitor, and it loads multiple calendars just fine :)
I recently discovered that the Formula 1 had their own calendar, so I added it to the monitor.
My problem is that currently, the title will be something like this:
FORMULA 1 ETIHAD AIRWAYS ABU DHABI GRAND PRIX 2020 - PRACTICE 1
So a few replaceTitle's later I ended up with the following:
Result:
ETIHAD AIRWAYS ABU DHABI - FP1
Now I want to change it to the following:
FP1 Etihad Airways Abu Dhabi
Is there any way to:
a) Change the order of the text (regex probably capturing each group and displaying them in another order?)
b) Change the CamelCasing of the text
Thanks in advance!
The text was updated successfully, but these errors were encountered: