yawik / SimpleImport

Simple Job Import Module. Imports job openings into YAWIK
MIT License
0 stars 1 forks source link

scrap details like salary or workload from title #47

Open cbleek opened 5 years ago

cbleek commented 5 years ago

sometimes job title contains informations about a salary.

eg:

if the simple import finds such an information, we should store it in salary

regex salary

(\D|^)([\d]{2})([,.](\d\d|-))?\s?(EUR|Euro|€)\s*\/?\s*(STD|Std|h|Stunde)?

regex workload

(([\d]{1,2}(,[\d\d]{1,2})?)\s-?\s([\d]{1,2})?)\s(STD|Std|h|Stunden?).?\s(\/|pro)\s*(Wo|Woche)